import yRequest from "../request"

/**
 * @description: 应聘岗位分页列表
 */
export function queryApplyPositionList(data = {}, config = {}) {
    return yRequest.post("queryApplyPositionList", "/apply/position/apply/list", data, config)
}

/**
 * @description: 应聘信息详情
 */
export function getApplyPosition(data = {}, config = {}) {
    return yRequest.post("getApplyPosition", "/apply/position/get", data, config)
}

/**
 * @description: 零工确认应聘岗位
 */
export function applyPositionConfirm(data = {}, config = {}) {
    return yRequest.post("applyPositionConfirm", "/apply/position/confirm", data, config)
}

/**
 * @description: 零工取消应聘岗位
 */
export function applyPositionCancel(data = {}, config = {}) {
    return yRequest.post("applyPositionCancel", "/apply/position/cancel", data, config)
}

/**
 * @description: 全职分页列表
 */
export function queryQzApplyPositionList(data = {}, config = {}) {
    return yRequest.post("queryQzApplyPositionList", "/qz/apply/position/list", data, config)
}

/**
 * @description: 全职工单详情
 */
export function getQzApplyPositionInfo(data = {}, config = {}) {
    return yRequest.post("getQzApplyPositionInfo", "/qz/apply/position/get/info", data, config)
}

/**
 * @description: 获取base64合同
 */
export function getContractBase64(data = {}, config = {}) {
    return yRequest.post("getContractBase64", "/sign/contract/get/base64", data, config)
}